package com.habo.service;

import com.habo.entity.WeiBo;

import java.util.List;

/**
 * 微博业务层
 * Created by jiuyou on 2017/3/27 0027.
 */
public interface WeiBoService {
    //发布微博
    public void addWeiBo(WeiBo weiBo);

    //查找全部微博
    public List<WeiBo> findAllWeiBo();

    //通过uid查找微博
    public  List<WeiBo> findWeiBoByU_id(String uid);

    //通过wbid查询微博
    public WeiBo findByWB_id(int wbid);
}
